// 引入组件
import List from  './components/List'
import Add from './components/Add'
import Detail from  './components/Detail'
import Edit from './components/Edit'

export default [
  { path:'*', redirect:'/list' },
  { path:'/list', component:List },
  { path:'/add', component:Add },
  { path:'/edit/:id', component:Edit },
  { path:'/detail/:id', component:Detail }
]
